/*
 * IndicadoresSource.java
 *
 * Created on 27 de octubre de 2006, 11:14 AM
 *
 * To change this template, choose Tools | Options and locate the template under
 * the Source Creation and Management node. Right-click the template and choose
 * Open. You can then make changes to the template in the Source Editor.
 */

package com.computec.indicadores.source;

import com.src.computec.radar.base.source.CoreSource;
import java.util.ResourceBundle;

/**
 *
 * @author jlperea
 */
public class IndicadoresSource 
{
    protected static IndicadoresSource noClassSource;
    
    private static ResourceBundle indicadoresSetup;
    private static ResourceBundle indicadoresErrorSetup;    
    
    /** Creates a new instance of PathImage */
    protected IndicadoresSource() {        
        indicadoresSetup = ResourceBundle.getBundle("IndicadoresSetup");
        indicadoresErrorSetup = ResourceBundle.getBundle("IndicadoresErrorSetup");        
    }

    public static IndicadoresSource getInstance() {
        if (noClassSource == null) {
            noClassSource = new IndicadoresSource();
        }
        return noClassSource;
    }

    public String getIndicadoresSetupKey(String key) {
        return indicadoresSetup.getString(key); 
    }
   
    public String getIndicadoresErrorSetupKey(String key) {
        return indicadoresErrorSetup.getString(key); 
    }    
}
